<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        h1{color: aquamarine;}
        input{padding: 10px;margin: 10px}
    </style>
</head>
<body>
<h1>通过get方法提交表单</h1>
<form action="showMessage.php">
    姓名：<input  name="xm" ><br>
    年龄：<input type="number" name="age"><br>
    <input type="submit" value="提交表单">
</form>
</body>
</html>
